﻿<Window x:Class="CECB.SimpleMatrixCalculation"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SimpleMatrixCalculation"
        xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"      
        WindowStartupLocation="CenterScreen"   Background="#AA000000" 
        AllowsTransparency="True" WindowStyle="None" WindowState="Maximized"
        mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">

    <Grid >

        <Rectangle Margin="-110,0,0,110" Width="550" Height="540" Stroke="White" RadiusY="19.5" RadiusX="19.5" StrokeThickness="4">
            <Rectangle.Effect>
                <DropShadowEffect Direction="330" BlurRadius="24" ShadowDepth="13" />
            </Rectangle.Effect>
            <Rectangle.Fill>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="Black" Offset="0" />
                    <GradientStop Color="#FFA3A1A1" Offset="0.494" />
                    <GradientStop Color="#FF272121" Offset="0" />
                    <GradientStop Color="#FF272121" Offset="1" />
                </LinearGradientBrush>
            </Rectangle.Fill>
        </Rectangle>
        <Grid Margin="390,-590,0,0" HorizontalAlignment="Center" Height="40" >
            <Image Height="32" Margin="2" Source="/CECB;component/images/closeblack.png"  Width="32" MouseLeftButtonDown="Image_MouseLeftButtonDown" />
        </Grid>



        <Canvas Margin="170,65,173,90"   Width="878" Height="625">
            <Label Content="Simple Matrix Calculation " Height="67" HorizontalAlignment="Center" Margin="0,10,10,0" VerticalAlignment="Center" Width="357" FontSize="28" FontStretch="Normal" FontStyle="Normal" FontWeight="Black" Foreground="#FFEFEFEF" Canvas.Left="133" Canvas.Top="24"></Label>
            <StackPanel  Background="#82A9A9A9" Margin="120,50,0,0" Width="451" Height="382" Canvas.Left="13" Canvas.Top="48">


                <StackPanel Name="stackPanel14" Orientation="Horizontal" Margin="150,310,0,0" Width="216">
                    <Button Content="View Diagrams" FontSize="20" Foreground="White" Cursor="Hand" Background="#FF2E2B31" BorderBrush="{x:Null}" Height="44"   Name="ReportButton" Width="192" Click="ReportButton_Click">

                    </Button>
                </StackPanel>
                <Button Content="Button" Height="23" Name="button1" Width="145" Click="button1_Click" />
            </StackPanel>
            <WrapPanel Orientation="Horizontal" Canvas.Left="134" Canvas.Top="252" Width="450" Margin="0,100,0,0" Background="#FF555555">
                <Label Content="Total" Width="100" Height="38" Name="labelusername" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="15" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                <TextBox Height="30" Margin="70,2,0,0" Name="textBox_total" Width="162" FontSize="14" Foreground="#FF4E0000" IsReadOnly="True" />
            </WrapPanel>
            <WrapPanel Orientation="Horizontal" Canvas.Left="134" Canvas.Top="145" Width="450" Margin="0,100,0,0" Background="#FF555555">
                <Label Content="Sociological impact" Height="38" Width="156" Name="label5" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="15" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                <TextBox Height="auto" HorizontalAlignment="Left" Margin="14,4,0,0" Name="textBox_SocialImpact" VerticalAlignment="Top" Width="162" MinHeight="30" MaxHeight="60" TextWrapping="Wrap" AcceptsReturn="True" FontSize="14" Foreground="#FF4E0000" IsReadOnly="True" />
                <Label Content=" " Height="28" Name="label_sociologicalImpactPresentage" Margin="10,0,0,0" FontSize="15" Foreground="White" FontWeight="Bold" Width="28" />
                <Label Content=" " Height="28" Name="label_presentageMark2" FontSize="14" Foreground="White" />
            </WrapPanel>
            <WrapPanel  Orientation="Horizontal" Canvas.Left="134" Canvas.Top="198" Width="450" Margin="0,100,0,0" Background="#FF555555">
                <Label Content="Echologycal Impact" Height="38" Width="148" Name="label4" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="15" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                <TextBox Height="30" HorizontalAlignment="Left" Margin="20,4,0,0" Name="textBox_EchologicalImpact" VerticalAlignment="Top" Width="164" MinHeight="30" MaxHeight="60" TextWrapping="Wrap" AcceptsReturn="True" FontSize="14" Foreground="#FF4E0000" IsReadOnly="True" />
                <Label Content=" " Height="28" Name="label_EchologicalImpactPresentage" Margin="10,0,0,0" FontSize="15" Foreground="White" FontWeight="Bold" Width="28" />
                <Label Content=" " Height="28" Name="label_presentageMark3" FontSize="14" Foreground="White" />
            </WrapPanel>
            <WrapPanel  Orientation="Horizontal" Canvas.Left="134" Canvas.Top="90" Width="450" Margin="0,100,0,0" Background="#FF555555" Height="36">
                <Label Content="Physical Impact" Height="30" Width="135" Name="label1" HorizontalAlignment="Left" Margin="25,0,0,0" VerticalAlignment="Top" FontSize="15" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
                <TextBox Height="30" HorizontalAlignment="Left" Margin="37,4,0,0" Name="textBox_PhysicalImpact" VerticalAlignment="Top" Width="160" FontSize="14" Foreground="#FF4E0000" IsReadOnly="True" />
                <Label Content=" " Height="28" Name="label_physicalImpactPresentage" Margin="10,0,0,0" FontSize="15" Foreground="White" FontWeight="Bold" Width="28" />
                <Label Content=" " Height="28" Name="label_presentageMark1" FontSize="14" Foreground="White" />
            </WrapPanel>
            <StackPanel Height="51" Name="stackPanel1" Width="450" Canvas.Left="134" Canvas.Top="116" Background="#FF555555">
                <Label Content="Project" Height="28" Name="label2" Width="148" Margin="25,10,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="15" FontStyle="Italic" Foreground="White" BorderBrush="White" BorderThickness="0" />
                <toolkit:AutoCompleteBox Background="White" Margin="98,-25,0,0" BorderBrush="#FFF8F8F8" BorderThickness="2" FilterMode="Contains" FontSize="18" Height="30" IsTabStop="True" ItemsSource="{Binding}" Name="ProjectAutocompleteTextBox" Opacity="1" TabIndex="1" UseLayoutRounding="False" ValueMemberPath="proj_reference" Width="156.745" SelectionChanged="ProjectAutocompleteTextBox_SelectionChanged_1">
                    <toolkit:AutoCompleteBox.ItemTemplate>
                        <DataTemplate>
                            <StackPanel Orientation="Horizontal">
                                <TextBlock Text="{Binding Path=proj_reference}" />
                                <TextBlock Text=" - " />
                                <TextBlock Text="{Binding Path=proj_name}" />
                            </StackPanel>
                        </DataTemplate>
                    </toolkit:AutoCompleteBox.ItemTemplate>
                </toolkit:AutoCompleteBox>
            </StackPanel>


        </Canvas>
    </Grid>
</Window>
